<#if settingNav??>
<#else>
  <#assign settingNav = ""/>
</#if>

<#assign groupNav = 'setting'/>

<@block_title '小组设置'/>

<#include '/group/layout.ftl'>

<#macro blockGroupBody>

<div class="row">
  <div class="col-md-12">
    <div class="panel panel-default panel-lg">
      <div class="panel-heading"><h1>小组设置</h1></div>
      <div class="panel-body">
        <ul class="nav nav-pills mbl">
          <li <#if settingNav == 'info'>class="active"</#if>><a href="${ctx}/group/${groupinfo.id}/setting/info">编辑小组 </a></li>
          <li <#if settingNav == 'logo'>class="active"</#if>> <a  href="${ctx}/group/${groupinfo.id}/setting/logo">图标设置</a></li>
          <li <#if settingNav == 'background'>class="active"</#if>>  <a  href="${ctx}/group/${groupinfo.id}/setting/backgroundlogo">背景设置</a></li>
        </ul>

        <@web_macro.flash_messages/>
        <#if blockGroupSettingBody??><@blockGroupSettingBody/></#if>
      </div>
    </div>
  </div>
</div>

</#macro>